package com.jintoufs.dao.tour;

import java.util.List;

import com.jintoufs.domain.tour.TourRouteOrderDetail;
import com.jintoufs.domain.tour.TourRouteOrderDetailExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TourRouteOrderDetailMapper {
    int countByExample(TourRouteOrderDetailExample example);

    int deleteByExample(TourRouteOrderDetailExample example);

    List<TourRouteOrderDetail> selectByRouteOrderId(String id);

    int deleteByPrimaryKey(String id);

    int insert(TourRouteOrderDetail record);

    int insertSelective(TourRouteOrderDetail record);

    List<TourRouteOrderDetail> selectByExample(TourRouteOrderDetailExample example);

    TourRouteOrderDetail selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TourRouteOrderDetail record, @Param("example") TourRouteOrderDetailExample example);

    int updateByExample(@Param("record") TourRouteOrderDetail record, @Param("example") TourRouteOrderDetailExample example);

    int updateByPrimaryKeySelective(TourRouteOrderDetail record);

    int updateByPrimaryKey(TourRouteOrderDetail record);

    List<TourRouteOrderDetail> selectByTourRouteOrderId(String tourRouteOrderId);

}